package com.neiquan.backstage.resourec_manage;

import java.util.List;

import com.neiquan.backstage.pub.bsc.dao.po.Lease;

public interface ResourecLeaseService {
//	添加
	 void add(Lease entity);
//	通过memberId查询
	 List<Lease> queryByMeberId(int meberId);
//	 通过Id查询
	 Lease queryById(int id);
//	 修改数据
	 void updata(Lease entity);
//	 查询所有
	 List<Lease> queryAll();
//	
	 List<Lease> queryAllLES(int leaseId);
	 
	 List<Lease> queryByMeberId(int memberId, int newlyStuats,int stutas);
	 /**
	  * 通过公司Id查询Lease类
	  * @param memberId
	  * @param newlyStuats
	  * @return
	  */
	 Lease queryByEntrepreneurId(int memberId, int newlyStuats);
	 
	Lease queryByEntrepreneurId(int entrepreneurId, int newlyStuats, int status);
	/**
	 * 通过unique查询Lease
	 * @param uniqueId
	 * @return
	 */
	Lease queryByUniqueId(int memberId,String uniqueId);
	List<Lease> queryByEntrepreneurIdStatus(int entrepreneurId, int status);
	
}
